<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>061-背景颜色开始显示区域.html</title>
	<style>
		*{
			margin: 0;
			padding: 0;
		}
		ul{
			width: 500px;
			margin: 50px auto;
			list-style: none;
		}
		li{
			width: 200px;
			height: 200px;
			border: 10px dashed #000;
			padding: 20px;
			margin-top: 10px;
			background-color: red;
		}
		li:nth-child(2){
			background-clip: border-box;
		}
		li:nth-child(3){
			background-clip: padding-box;
		}
		li:nth-child(4){
			background-clip: content-box;
		}
	</style>
</head>
<body>
	<ul>
		<li></li>
		<li></li>
		<li></li>
		<li></li>
	</ul>
</body>
</html>